Integrand size = 23, antiderivative size = 115 \[ \int \frac {\sin ^{\frac {9}{2}}(e+f x)}{\sqrt {b \sec (e+f x)}} \, dx=-\frac {7 b \sin ^{\frac {3}{2}}(e+f x)}{30 f (b \sec (e+f x))^{3/2}}-\frac {b \sin ^{\frac {7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}+\frac {7 E\left (\left .e-\frac {\pi }{4}+f x\right |2\right ) \sqrt {\sin (e+f x)}}{20 f \sqrt {b \sec (e+f x)} \sqrt {\sin (2 e+2 f x)}} \]
[Out]
Time = 0.19 (sec) , antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {2663, 2665, 2652, 2719} \[ \int \frac {\sin ^{\frac {9}{2}}(e+f x)}{\sqrt {b \sec (e+f x)}} \, dx=-\frac {b \sin ^{\frac {7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}-\frac {7 b \sin ^{\frac {3}{2}}(e+f x)}{30 f (b \sec (e+f x))^{3/2}}+\frac {7 \sqrt {\sin (e+f x)} E\left (\left .e+f x-\frac {\pi }{4}\right |2\right )}{20 f \sqrt {\sin (2 e+2 f x)} \sqrt {b \sec (e+f x)}} \]
[In]
[Out]
Rule 2652
Rule 2663
Rule 2665
Rule 2719
Rubi steps \begin{align*} \text {integral}& = -\frac {b \sin ^{\frac {7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}+\frac {7}{10} \int \frac {\sin ^{\frac {5}{2}}(e+f x)}{\sqrt {b \sec (e+f x)}} \, dx \\ & = -\frac {7 b \sin ^{\frac {3}{2}}(e+f x)}{30 f (b \sec (e+f x))^{3/2}}-\frac {b \sin ^{\frac {7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}+\frac {7}{20} \int \frac {\sqrt {\sin (e+f x)}}{\sqrt {b \sec (e+f x)}} \, dx \\ & = -\frac {7 b \sin ^{\frac {3}{2}}(e+f x)}{30 f (b \sec (e+f x))^{3/2}}-\frac {b \sin ^{\frac {7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}+\frac {7 \int \sqrt {b \cos (e+f x)} \sqrt {\sin (e+f x)} \, dx}{20 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}} \\ & = -\frac {7 b \sin ^{\frac {3}{2}}(e+f x)}{30 f (b \sec (e+f x))^{3/2}}-\frac {b \sin ^{\frac {7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}+\frac {\left (7 \sqrt {\sin (e+f x)}\right ) \int \sqrt {\sin (2 e+2 f x)} \, dx}{20 \sqrt {b \sec (e+f x)} \sqrt {\sin (2 e+2 f x)}} \\ & = -\frac {7 b \sin ^{\frac {3}{2}}(e+f x)}{30 f (b \sec (e+f x))^{3/2}}-\frac {b \sin ^{\frac {7}{2}}(e+f x)}{5 f (b \sec (e+f x))^{3/2}}+\frac {7 E\left (\left .e-\frac {\pi }{4}+f x\right |2\right ) \sqrt {\sin (e+f x)}}{20 f \sqrt {b \sec (e+f x)} \sqrt {\sin (2 e+2 f x)}} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 10.67 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.75 \[ \int \frac {\sin ^{\frac {9}{2}}(e+f x)}{\sqrt {b \sec (e+f x)}} \, dx=-\frac {b \left (23-26 \cos (2 (e+f x))+3 \cos (4 (e+f x))+42 \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},\frac {1}{4},\frac {1}{2},\sec ^2(e+f x)\right ) \sqrt [4]{-\tan ^2(e+f x)}\right )}{120 f (b \sec (e+f x))^{3/2} \sqrt {\sin (e+f x)}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(397\) vs. \(2(120)=240\).
Time = 0.98 (sec) , antiderivative size = 398, normalized size of antiderivative = 3.46
method | result | size |
default | \(-\frac {\sqrt {2}\, \left (12 \sqrt {2}\, \left (\cos ^{5}\left (f x +e \right )\right )-38 \sqrt {2}\, \left (\cos ^{3}\left (f x +e \right )\right )-21 \sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )+1}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )}\, F\left (\sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}, \frac {\sqrt {2}}{2}\right )+42 \sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )+1}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )}\, E\left (\sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}, \frac {\sqrt {2}}{2}\right )-21 \sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )+1}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )}\, F\left (\sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}, \frac {\sqrt {2}}{2}\right ) \sec \left (f x +e \right )+42 \sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )+1}\, \sqrt {\cot \left (f x +e \right )-\csc \left (f x +e \right )}\, E\left (\sqrt {-\cot \left (f x +e \right )+\csc \left (f x +e \right )+1}, \frac {\sqrt {2}}{2}\right ) \sec \left (f x +e \right )+47 \sqrt {2}\, \cos \left (f x +e \right )-21 \sqrt {2}\right )}{120 f \sqrt {b \sec \left (f x +e \right )}\, \sqrt {\sin \left (f x +e \right )}}\) | \(398\) |
[In]
[Out]
\[ \int \frac {\sin ^{\frac {9}{2}}(e+f x)}{\sqrt {b \sec (e+f x)}} \, dx=\int { \frac {\sin \left (f x + e\right )^{\frac {9}{2}}}{\sqrt {b \sec \left (f x + e\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sin ^{\frac {9}{2}}(e+f x)}{\sqrt {b \sec (e+f x)}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\sin ^{\frac {9}{2}}(e+f x)}{\sqrt {b \sec (e+f x)}} \, dx=\int { \frac {\sin \left (f x + e\right )^{\frac {9}{2}}}{\sqrt {b \sec \left (f x + e\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {\sin ^{\frac {9}{2}}(e+f x)}{\sqrt {b \sec (e+f x)}} \, dx=\int { \frac {\sin \left (f x + e\right )^{\frac {9}{2}}}{\sqrt {b \sec \left (f x + e\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sin ^{\frac {9}{2}}(e+f x)}{\sqrt {b \sec (e+f x)}} \, dx=\int \frac {{\sin \left (e+f\,x\right )}^{9/2}}{\sqrt {\frac {b}{\cos \left (e+f\,x\right )}}} \,d x \]
[In]
[Out]